//
//  Service2Manager.swift
//  Service2
//
//  Created by 章旭松 on 16/8/26.
//  Copyright © 2016年 章旭松. All rights reserved.
//

import Foundation
import Component

public final class Service2Manager {
    public static let sharedInstance = Service2Manager()
    
    public func invokeWithUrl(url: String) {
        print(url)
        Component.invokeWithUrl("Component://function?from=Service2&param1=value1&param2=value2")
    }
}

public func invokeWithUrl(url: String) {
    Service2Manager.sharedInstance.invokeWithUrl(url)
}